<%@ page contentType="text/html;charset=UTF-8" language="java"  isELIgnored="false" %>
<html>
<head>
    <style>
        body{text-align:center}
        .div{position: absolute;width:300px;height:200px;left:50%;top:50%; margin-left:-200px;margin-top:-100px;border:0px solid #00F}
    </style>


</head>
<body>
<h1>Welcome To Acewill</h1>
<div class="div">
<form action="/login/login" enctype="multipart/form-data" method="post">
    <div align="left">
        用户名:<input id="username" name="username" value=""></br>

        </br>
        密&nbsp;&nbsp;&nbsp;&nbsp;码:<input id="password" name="password" value=""></br>

    </div>
    <div align="right">
        <input type="submit" value="登录">
    </div>

    <p id="errorMsg"></p>
</form>
</div>

<hr />

</body>
</html>
<script type="application/javascript" src="/jquery/jquery-2.1.0.js"></script>
<script type="application/javascript">
    $('#errorMsg').hide();
    var err = (window.location.search && window.location.search.substr(1).split('=')[0] === 'errorMsg') ?  window.location.search.substr(1).split('=')[1] : '';
    err = decodeURI(err);
    var re =  $('#errorMsg').html(err).show();
</script>
